package es.xpt.ysf.view.menu.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "menu"
})
@XmlRootElement(name = "menus")
public class Menus {

    @XmlElement(required = true)
    private List<MenuBean> menu;

    public List<MenuBean> getMenu() {
        if (menu == null) {
            menu = new ArrayList<MenuBean>();
        }
        return this.menu;
    }

}
